Closed Bug 1587066 Opened 6 years ago Closed 6 years ago

Call native abort in TSan builds

Categories

(Core :: Memory Allocator, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: decoder, Assigned: decoder)

References

(Blocks 1 open bug)

Details

(Keywords: sec-want, Whiteboard: [adv-main71-])

Attachments

(1 file)

We have a workaround in place for ASan to call the native abort instead of our internal version, here:

https://searchfox.org/mozilla-central/rev/5cb522c7baba24e55874809e0e206b001494c1e9/memory/mozalloc/mozalloc_abort.cpp#58

We need the same for TSan for its abort_on_error option in combination with halt_on_error which we probably want in the long run for automation. Trivial fix.

Blocks: tsan
Pushed by choller@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9f63408b4a38 Use native abort() for ThreadSanitizer. r=jseward
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Whiteboard: [adv-main71-]
See Also: → 1657857
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: